import request from '@/utils/request'

// 查询工资调整记录列表
export function listSalaryAdjustHis(query) {
  return request({
    url: '/hrm/salaryAdjustHis/list',
    method: 'get',
    params: query
  })
}

// 查询工资调整记录详细
export function getSalaryAdjustHis(id) {
  return request({
    url: '/hrm/salaryAdjustHis/' + id,
    method: 'get'
  })
}

// 新增工资调整记录
export function addSalaryAdjustHis(data) {
  return request({
    url: '/hrm/salaryAdjustHis',
    method: 'post',
    data: data
  })
}

// 修改工资调整记录
export function updateSalaryAdjustHis(data) {
  return request({
    url: '/hrm/salaryAdjustHis',
    method: 'put',
    data: data
  })
}

// 删除工资调整记录
export function delSalaryAdjustHis(id) {
  return request({
    url: '/hrm/salaryAdjustHis/' + id,
    method: 'delete'
  })
}
